﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductUpdate.aspx.cs" Inherits="LosConn.Web.Product.ProductUpdate" %>
<!-- 修改产品模态框 start -->
<form id="editFormProduct" class="form-horizontal formModal" novalidate="novalidate">
    <div class="modal-header">
        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">×</button>
        <h3>产品修改</h3>
    </div>
    <div class="modalBody">
        <div class="control-group">
            <label class="control-label" for="Product_TypeID">产品类型</label>
            <div class="controls">
                <select name="Product_TypeID" id="Product_TypeID" runat="server">
                </select>
                <input type="text" id="Product_TypeName" name="Product_TypeName" class="hide" runat="server" />
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="Product_Code">产品编码</label>
            <div class="controls">
                <input type="text" name="Product_Code" id="Product_Code" required runat="server" />
            </div>
        </div>
        <div class="control-group">     
            <label class="control-label" for="Product_Name">产品名称</label>
            <div class="controls">
                <input type="text" name="Product_Name" id="Product_Name" required runat="server" />
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="Product_Price">产品价格</label>
            <div class="controls">
                <div class="input-append">
                    <input type="text" name="Product_Price" id="Product_Price" runat="server" required data-validation-number-message="必须是一个有效的数字。" />
                    <span class="add-on">元</span>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="Product_Number">产品数量</label>
            <div class="controls">
                <input type="number" name="Product_Number" value="<%=productNumber %>"  required data-validation-number-message="必须是一个有效的数字。" />
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="Product_Unit">产品单位</label>
            <div class="controls">
                <input type="text" name="Product_Unit" id="Product_Unit" runat="server" />
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="Product_Specification">产品规格</label>
            <div class="controls">
                <input type="text" name="Product_Specification" id="Product_Specification" runat="server" />
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="submit" class="btn btn-primary" data-loading-text="提交中..." autocomplete="off"><i class="icon-wrench icon-white"></i> 提交</button>
    </div>
</form>
<!-- 新增产品模态框 end -->
<script src="/Scripts/Product/editModalProduct.js"></script>
